package com.lkxicy.wos.pojo.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class HolidayRecord {

    @ApiModelProperty(value = "自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "工号")
    private String staffNumber;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "所属部门")
    private String department;

    @ApiModelProperty(value = "请假说明")
    private String holidayExplain;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "起始时间")
    private Date beginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "是否已安排工作")
    private Integer isSchedule;

    @ApiModelProperty(value = "审批，1为通过，0为不通过")
    private Integer approval;



}
